<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="../common.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript">
$(document).ready(function(){
	setPageTitle('<tiles:getAsString name="pageTitle"/>');
	});
</script>

<div align="center">
	<table class="bodyTable" >
		<tr>
			<td>
				<table class="filtersTable zeroBorder" style="width: 100%;">
					<tr class="tableChildHeaderColor" align="left" style="width: 100%;">
						<td>
							<table style="width: 100%;">
								<tr>
									<td style="width: 80%;">
										<table >
											<tr>
												<td class="spacingColumnWidthLess"></td>
												<td align="left">
													<!-- <img alt="" src="./customTheme/Icons/BlueLotus_DMS_icons-11.png"> -->
												</td>
												<td class="spacingColumnWidthLess"></td>
												<td style="vertical-align: middle;"><span class="tableMainHeaderFont">RENEW DOCUMENT</span></td>
											</tr>
										</table>
									</td>
									<td style="width: 20%;">
										<table class="zeroBorder" style="width: 100%;">
											<tr align="right">
												<td >
													<input type="button" class="formButton" value="Back" onclick="javascript:workFlowDetail('docAttrDTO','back');"/>&nbsp;
													<input type="button" class="formButton" value="Save" onclick="javascript:loadContentToServer('renewDocForm','contentDiv');"/>&nbsp;
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr class="formSpacingRow formBlockColor"><td></td></tr>
					<tr>
						<td align="center">
						<div id="uploadDocTabs" class="formBlockColor"  style="overflow: auto;">
							<form:form commandName="renewalDetailsForm" id="renewDocForm" action="${flowExecutionUrl}" enctype="multipart/form-data" method="POST">
							<form:hidden path="docId" value="${renewalDetailsForm.docId}"/>
							<form:hidden path="docIdToRenew" value="${docIdToRenew}" />
								<table style="width: 100%;" border="0" class="formTable" >
									
									<tr class="formSpacingRow formBlockColor">
										<td colspan="9">
										</td>
									</tr>
									
									<tiles:insertAttribute name="attachDoc"></tiles:insertAttribute>
									
									<tr class="formSpacingRow formBlockColor">
										<td colspan="9">
											<hr>
										</td>
									</tr>
									
									<tiles:insertAttribute name="attrDetails"></tiles:insertAttribute>
									
									<tr class="formSpacingRow formBlockColor">
										<td colspan="9">
											<hr>
										</td>
									</tr>
									
									<tiles:insertAttribute name="ownerDetails"></tiles:insertAttribute>
									
									<tr class="formSpacingRow formBlockColor">
										<td colspan="9">
											<hr>
										</td>
									</tr>
									
									<tiles:insertAttribute name="validityDetails"></tiles:insertAttribute>
									
									
									
									<tr class="formSpacingRow formBlockColor"><td colspan="9"></td></tr>
									
									<!-- <tr class="formSpacingRow formBlockColor">
										<td colspan="9">
											<hr>
										</td>
									</tr>
									<tr>
										<td colspan="5"></td>
										<td colspan="3" align="right">
											<input type="reset" value="RESET" name="resetForm" class="resetButton">
											<span class="spacingColumnWidthLess">&nbsp;</span>
											<input type="hidden" value="ajaxRequest" name="ajaxSource">
											<input type="button" class="formButton ui-corner-all" value="UPLOAD" onclick="loadContentToServer('uploadNewDocForm','contentDiv')">	
										</td>
										<td class="spacingColumnWidthLess"></td>
									</tr>	 -->												
								</table>
							</form:form>
					</div>
						</td>
				</table>
			</td>
		</tr>
	</table>
</div>

<%-- 	<form:form commandName="renewalDetailsForm" id="renewDocForm" action="${flowExecutionUrl}" enctype="multipart/form-data" method="POST">
		<div id="uploadDocTabs" class="ui-layout-center">
		<table cellpadding="0" cellspacing="0" border="0" width="90%">
			<tr>
				<td>
					<table>
						<tiles:insertAttribute name="attrDetails"></tiles:insertAttribute>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<hr/>
					<table>
						<tiles:insertAttribute name="ownerDetails"></tiles:insertAttribute>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<hr/>
					<table>
						<tiles:insertAttribute name="validityDetails"></tiles:insertAttribute>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<hr/>
					<table>
						<tiles:insertAttribute name="attachDoc"></tiles:insertAttribute>
					</table>
				</td>
			</tr>			
		</table>
	</div>
</form:form> --%>